Copyright: Delta Technology International


Table Of Contents

Menu Items

     Exit

   Options

        Stretch Bitmap

        BITMAPFILEHEADER Information

        BITMAPINFOHEADER Information

   Copy To Clipboard

        Copy To Clipboard

   Help

        Contents

        Help On Help

        About

Miscellaneous

     Bitmap Size Information

     Bitmap Technical Information


Exit

   Quits Bitmap Viewer and returns to Windows.


Options - Stretch Bitmap

   Stretches all bitmaps to the size of the bitmap display window. The aspect ratio of the displayed bitmap will be that of the display window NOT the bitmap itself.


Help - Contents

   Table of contents for this Help file.


Help - About

   Aboutbox for Bitmap Viewer.


Bitmap Info
Bitmap Size Information

   Displays the file size in bytes, width in pixels, and height in pixels of the currently displayed bitmap.

   The width and height information comes from the BITMAPINFOHEADER and reflects the actual size of the bitmap in pixels (hardware independent).


Bitmap Tech Info
Bitmap Technical Information

   A bitmap contains two headers and the actual picture information. The BITMAPFILEHEADER is followed by the BITMAPINFO structures. The BITMAPINFO structure is followed by the actual bits comprising the bitmap.


BITMAPFILEHEADER

Defined in Windows as:

typedef struct tagBITMAPFILEHEADER

   {

   UINT	bfType;

   DWORD	bfSize;

   UINT	bfReserved1;

   UINT	bfReserved2;

   DWORD	bfOffBits;

   } BITMAPFILEHEADER


BITMAPINFO

Defined in Windows as:

typedef struct tagBITMAPINFO

   {

   BITMAPINFOHEADER	bmiHeader;

   RGBQUAD	bmiColors[1];

   }  BITMAPINFO;


BITMAPINFOHEADER

Defined in Windows as:

typdef struct tagBITMAPINFOHEADER

   {

   DWORD	biSize;   	// Size of this header structure

   LONG	biWidth;	// Width of Bitmap in pixels

   LONG	biHeight;	// Height of Bitmap in pixels

   WORD	biPlanes;	// Num of planes for target device

   WORD	biBitCount;	// Number of bits per pixel 1,4,8,24

   DWORD	biCompression;	// Specifies type of compression

   DWORD	biSizeImage;	// Size in bytes of the image

   LONG	biXPelsPerMeter; // Horizontal pixels per meter

   LONG	biYPelsPerMeter; // Vertical pixels per meter

   DWORD	biClrUsed;	// Color indexes actually used

   DWORD	biClrImportant;   // Num of colors deemed important

   }  BITMAPINFOHEADER;


RGBQUAD

Defined in Windows as:

typdef struct tagRGBQUAD

   {

   BYTE	rgbBlue;

   BYTE	rgbGreen;

   BYTE	rgbRed;

   BYTE	rgbByteReserved;

   } RGBQUAD;


FILEHEADER Window
BITMAPFILEHEADER Information

This screen allows you to see the contents of the BITMAPFILEHEADER and to print the contents to the default Windows printer.


INFOHEADER Window
BITMAPINFOHEADER Information

This screen allows you to view the contents of the BITMAPINFOHEADER and to print the contents to the Windows default printer.


Copy To Clipboard

Copies the current bitmap to the Windows clipboard.


Help On Help

Loads Windows Help On Help file.